package com.mp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mp.dao.WebsiteMapper;
import com.mp.dao.WebsiteUrlMapper;
import com.mp.pojo.Website;
import com.mp.pojo.WebsiteUrl;
import com.mp.service.WebsiteService;
import com.mp.service.WebsiteUrlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author jack
 * @data 2019-08-08 16:35
 */
@Service
public class WebsiteUrlServiceImpl extends ServiceImpl<WebsiteUrlMapper, WebsiteUrl> implements WebsiteUrlService {

    @Autowired
    private WebsiteUrlMapper websiteUrlMapper;
    @Override
    public WebsiteUrl getOneByAdminId(Integer adminId) {
        return websiteUrlMapper.getOneByAdminId(adminId);
    }
}
